package com.running.base.run.domain;

import java.util.Date;

public class FudaoRecord {
    private Integer id;

    private String fudaoUser;

    private Long fudaoPrice;

    private String fudaoContent;

    private String fudaoProfile;

    private String fudaoTeacher;

    private Date xianyuDatetime;

    private Date fudaoBeginTime;

    private Date fudaoEndTime;

    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFudaoUser() {
        return fudaoUser;
    }

    public void setFudaoUser(String fudaoUser) {
        this.fudaoUser = fudaoUser == null ? null : fudaoUser.trim();
    }

    public Long getFudaoPrice() {
        return fudaoPrice;
    }

    public void setFudaoPrice(Long fudaoPrice) {
        this.fudaoPrice = fudaoPrice;
    }

    public String getFudaoContent() {
        return fudaoContent;
    }

    public void setFudaoContent(String fudaoContent) {
        this.fudaoContent = fudaoContent == null ? null : fudaoContent.trim();
    }

    public String getFudaoProfile() {
        return fudaoProfile;
    }

    public void setFudaoProfile(String fudaoProfile) {
        this.fudaoProfile = fudaoProfile == null ? null : fudaoProfile.trim();
    }

    public String getFudaoTeacher() {
        return fudaoTeacher;
    }

    public void setFudaoTeacher(String fudaoTeacher) {
        this.fudaoTeacher = fudaoTeacher == null ? null : fudaoTeacher.trim();
    }

    public Date getXianyuDatetime() {
        return xianyuDatetime;
    }

    public void setXianyuDatetime(Date xianyuDatetime) {
        this.xianyuDatetime = xianyuDatetime;
    }

    public Date getFudaoBeginTime() {
        return fudaoBeginTime;
    }

    public void setFudaoBeginTime(Date fudaoBeginTime) {
        this.fudaoBeginTime = fudaoBeginTime;
    }

    public Date getFudaoEndTime() {
        return fudaoEndTime;
    }

    public void setFudaoEndTime(Date fudaoEndTime) {
        this.fudaoEndTime = fudaoEndTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        FudaoRecord other = (FudaoRecord) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getFudaoUser() == null ? other.getFudaoUser() == null : this.getFudaoUser().equals(other.getFudaoUser()))
            && (this.getFudaoPrice() == null ? other.getFudaoPrice() == null : this.getFudaoPrice().equals(other.getFudaoPrice()))
            && (this.getFudaoContent() == null ? other.getFudaoContent() == null : this.getFudaoContent().equals(other.getFudaoContent()))
            && (this.getFudaoProfile() == null ? other.getFudaoProfile() == null : this.getFudaoProfile().equals(other.getFudaoProfile()))
            && (this.getFudaoTeacher() == null ? other.getFudaoTeacher() == null : this.getFudaoTeacher().equals(other.getFudaoTeacher()))
            && (this.getXianyuDatetime() == null ? other.getXianyuDatetime() == null : this.getXianyuDatetime().equals(other.getXianyuDatetime()))
            && (this.getFudaoBeginTime() == null ? other.getFudaoBeginTime() == null : this.getFudaoBeginTime().equals(other.getFudaoBeginTime()))
            && (this.getFudaoEndTime() == null ? other.getFudaoEndTime() == null : this.getFudaoEndTime().equals(other.getFudaoEndTime()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getFudaoUser() == null) ? 0 : getFudaoUser().hashCode());
        result = prime * result + ((getFudaoPrice() == null) ? 0 : getFudaoPrice().hashCode());
        result = prime * result + ((getFudaoContent() == null) ? 0 : getFudaoContent().hashCode());
        result = prime * result + ((getFudaoProfile() == null) ? 0 : getFudaoProfile().hashCode());
        result = prime * result + ((getFudaoTeacher() == null) ? 0 : getFudaoTeacher().hashCode());
        result = prime * result + ((getXianyuDatetime() == null) ? 0 : getXianyuDatetime().hashCode());
        result = prime * result + ((getFudaoBeginTime() == null) ? 0 : getFudaoBeginTime().hashCode());
        result = prime * result + ((getFudaoEndTime() == null) ? 0 : getFudaoEndTime().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        return result;
    }
}